{% extends "messages/base.html" %} 
{% load i18n %} 
{%block title%}
Trash
{%endblock%}
{%block crumb%}
&raquo;&nbsp; Trash
{%endblock%}
{% block mail_content %} 
{% if message_list %} 
<table class="messages span-18">
    <thead>
        <tr><th>{% trans "Sender" %}</th><th>{% trans "Subject" %}</th><th>{% trans "Date" %}</th><th>{% trans "Action" %}</th></tr>
    </thead>
    <tbody>
{% for message in message_list %} 
    <tr>
        <td>{{ message.sender }}</td>
        <td> 
        {{ message.subject }}
        </td>
        <td>{{ message.sent_at|date:_("DATETIME_FORMAT") }}</td>
        <td><a href="{% url messages_undelete message.id %}">{% trans "undelete" %}</a></td>
    </tr>
{% endfor %}
    </tbody>
</table>
{% else %}
<p class='text'>{% trans "No messages." %}</p>
{% endif %}   
{% endblock %}
